package com.spa.infrastructure.repository.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("s_coupon")
public class CouponPO extends BasePO {

    @TableField(value = "price")
    private int price;

    @TableField(value = "name")
    private String name;

    @TableField(value = "source")
    private int source;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "service_id")
    private Long serviceId;

    @TableField(value = "status")
    private int status;

    @TableField(value = "user_id")
    private Long userId;

    @TableField(value = "order_id")
    private Long orderId;

    @TableField(value = "use_time")
    private Date useTime;

    @TableField(value = "username")
    private String username;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "service_price")
    private int servicePrice;

}
